package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.pojo.Headline;
import org.example.pojo.vo.PortalVo;

import java.util.Map;

/**
 * @author 宋孟林
 * @description
 */
@Mapper
public interface HeadlineMapper extends BaseMapper<Headline> {
    IPage<Map<String, Object>> selectPageMap(IPage<Map<Object, Object>> page,@Param("portalVo") PortalVo portalVo);

    Map<Object, Object> findHeadlineVo(int hid);
}
